package imnu.edu.oop;

public class Student {
    //属性
    public int stuID;
    public String stuName;
    public boolean stuSex;

    protected  String stuTest;
    int stuTest01;

    //构造函数
    public Student(){
    }

    public Student(int stuID){
        this.stuID = stuID;
    }

    public Student(int stuID, String stuName, boolean stuSex){
        this.stuID = stuID;
        this.stuName = stuName;
        this.stuSex = stuSex;
    }

    //方法
    public void studing() {
        System.out.println("I am studing.....");
    }

    public void studing(String stuName){
        this.stuName = stuName;
        System.out.println(this.stuName + " is studing...");
    }

}
